import { createApp } from "vue";
import App from "./App.vue";
import { createPinia } from "pinia";
import router from "@/router";
import "@/assets/global.css";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import "@wangeditor/editor/dist/css/style.css";
import { createPersistedState } from "pinia-persistedstate-plugin";
import echarts from "@/echarts";
import vue3SeamlessScroll from "vue3-seamless-scroll";

const app = createApp(App);
const pinia = createPinia();
const persist = createPersistedState();
app.use(vue3SeamlessScroll);
pinia.use(persist);
app.use(router);
app.use(pinia);
app.use(Antd);
app.use(echarts);
app.mount("#app");
